package com.cn.study0011.Test004;

/**
 * @author lw
 * @ClassName ScoreCalc.java
 * @Description
 * @createTime 2023年05月16日 17:28:00
 */
public class ScoreCalc {
    int Java;
    int C;
    int DB;
    public int sum(int Java,int C,int DB){
        int s=Java+C+DB;
        return s;
    }
    public double avg(int Java,int C,int DB){
        int a1=sum(Java, C, DB);
        double d= a1/3.0;
        return d;
    }
}
